Adwaita: Add comment around the .overshoot style class
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 10 Jul 2014 14:55:00 +0000 (16:55 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 10 Jul 2014 18:44:55 +0000 (20:44 +0200)
And document the oddities around it, as requested by Lapo

gtk/resources/theme/Adwaita/_common.scss
gtk/resources/theme/Adwaita/gtk-contained-dark.css
gtk/resources/theme/Adwaita/gtk-contained.css

index f36e47839d0fbc48428e49563ab389152a9d05ff..8330ab679b31ec0f442b9e83cc93fe5c9702377c 100644 (file)
   background-color: transparentize($selected_bg_color,0.8);
 }
 
+/* This is used by GtkScrolledWindow, when rendering the edge
+ * gradient shown when content is touch-dragged past boundaries.
+ * The color is used as a base for such gradient, which is then
+ * stretched/modified as a direct result of user interaction.
+ */
 .overshoot {
   background-color: transparentize($selected_bg_color,0.8);
 }
index af4a806dcd46ee2b07b2b2cabfc4ecacb4a2e096..2646c775d8b5a28f3250612aeb80dcb4691c365d 100644 (file)
   border: 1px solid #215d9c;
   background-color: rgba(33, 93, 156, 0.2); }
 
+/* This is used by GtkScrolledWindow, when rendering the edge
+ * gradient shown when content is touch-dragged past boundaries.
+ * The color is used as a base for such gradient, which is then
+ * stretched/modified as a direct result of user interaction.
+ */
 .overshoot {
   background-color: rgba(33, 93, 156, 0.2); }
 
index ae9aaec681db2c0ff3be18189660fa71068113ee..69d576e8b3ef638dc6ff5b51ebf79e3f66ef9c76 100644 (file)
   border: 1px solid #4a90d9;
   background-color: rgba(74, 144, 217, 0.2); }
 
+/* This is used by GtkScrolledWindow, when rendering the edge
+ * gradient shown when content is touch-dragged past boundaries.
+ * The color is used as a base for such gradient, which is then
+ * stretched/modified as a direct result of user interaction.
+ */
 .overshoot {
   background-color: rgba(74, 144, 217, 0.2); }